package com.authManager.commons.feignApi.hystric;


import com.authManager.commons.feignApi.SysMenuApi;
import com.authManager.entity.SysMenu;
import com.commons.base.model.AdminPage;
import com.commons.base.model.ResultCode;
import com.commons.base.model.ResultData;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class SysMenuApiHystric implements SysMenuApi{


	@Override
	public ResultData<Object> saveSysMenu(String name, String systemCode, String pageUrl, String pageUrlType, Long parentId, String site, Integer sortNum, String icon, Integer menuType, String description, String buttonMark, String field1, String field2, String field3) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	}

	@Override
	public ResultData<Object> editSysMenu(Long sysMenuId, String name, String systemCode, String pageUrl, String pageUrlType, Long parentId, String site, Integer sortNum, String icon, Integer menuType, String description, String buttonMark, String field1, String field2, String field3) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	}

	@Override
	public ResultData<Object> delSysMenu(Long sysMenuId) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	}

	@Override
	public ResultData<SysMenu> getSysMenu(Long sysMenuId) {
		return new ResultData.Builder<SysMenu>(ResultCode.reqeust_TimeOut).build();
	}

	@Override
	public ResultData<SysMenu> getSysMenuBySystemCode(String systemCode) {
		return new ResultData.Builder<SysMenu>(ResultCode.reqeust_TimeOut).build();
	}

	@Override
	public ResultData<AdminPage<SysMenu>> listSysMenu(Integer pageNum, Integer pageSize, Long sysMenuId, String name, String systemCode, String pageUrl, String pageUrlType, Long parentId, String site, Integer sortNum, String icon, Integer menuType, String description, String buttonMark, String field1, String field2, String field3, String start_createTime, String end_createTime) {
		return new ResultData.Builder<AdminPage<SysMenu>>(ResultCode.reqeust_TimeOut).build();
	}

	@Override
	public ResultData<List<SysMenu>> listSysMenuByRoleAndUserId(String sysUserId, String systemCode, String menuSite) {
		return new ResultData.Builder<List<SysMenu>>(ResultCode.reqeust_TimeOut).build();
	}
}
